package cn.dakaqi.services;

import cn.dakaqi.entities.ActivityTag;
import cn.dakaqi.entities.SysActivityTag;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface ActivityTagService
{
    public void save(String param)throws ServiceRuntimeException;
    public void save(ActivityTag activityTag)throws ServiceRuntimeException;
    public void delTag(String param)throws ServiceRuntimeException;
    public void delTag(Long id)throws ServiceRuntimeException;
    ActivityTag findOne(Long id)throws ServiceRuntimeException;
    List<SysActivityTag> findSysTag()throws ServiceRuntimeException;
    Page<ActivityTag> findByMemberCode(String memberCode, String name, int pageNumber)throws ServiceRuntimeException;
}
